package me.zhengjie.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description TODO
 * @Author Long
 * @Date 2021/8/12 17:02
 */
@Data
@TableName("kw_exam_plan")
@ApiModel(description = "考试任务实体类")
public class ExamPlan {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "系统主键")
    private Integer id;

    @ApiModelProperty(value = "考试id")
    private Integer examId;

    @ApiModelProperty(value = "部门id")
    private Integer deptId;

    @ApiModelProperty(value = "考务人员上报数量")
    private Integer staffNumber;

    @ApiModelProperty(value = "监考老师上报数量")
    private Integer teacherNumber;

    @ApiModelProperty(value = "备注信息")
    private String remark;

    @ApiModelProperty(value = "删除标志（0.未删除，1.已删除）")
    private String delFlag;

    @ApiModelProperty(value = "监考教师id")
    private String tearcherIds;

    @TableField(exist = false)
    @ApiModelProperty(value = "考试名称")
    private String examNameCn;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
